package com.seckill.system.api;

import com.seckill.common.core.constant.ServiceNameConstants;
import com.seckill.system.api.factory.RemoteFileFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "remoteMiaoShaService", value = ServiceNameConstants.MIAOSHA_SERVICE)
public interface RemoteMiaoShaService {

    @GetMapping("/tb-stock/sendStaticPage")
    public boolean sendStaticPage(@RequestParam("skuId") Long skuId);
}
